home *** CD-ROM | disk | FTP | other *** search
/ Aminet 38 / Aminet 38 (2000)(Schatztruhe)[!][Aug 2000].iso / Aminet / dev / c / CLib-SDI.lha / CLib-SDI / libsource / makefile.vbcc < prev    next >
Encoding:
Makefile  |  2000-06-25  |  489 b   |  16 lines

  1. CFLAGS = -O2 -c -I/include -D__NOLIBBASE__
  2. LFLAGS = -nostdlib
  3.  
  4. ODIR = T:    # the directory, where object files are stored
  5. DDIR = /libs/    # the directory, where destination library is stored
  6.  
  7. $(DDIR)example.library: $(ODIR)libinitvbcc.o $(ODIR)examplefuncsvbcc.o
  8.     vc $(LFLAGS) -o $@ $(ODIR)libinitvbcc.o $(ODIR)examplefuncsvbcc.o
  9.     
  10. $(ODIR)libinitvbcc.o: libinfo.h libinit.c
  11.     vc $(CFLAGS) -o $@ libinit.c
  12.  
  13. $(ODIR)examplefuncsvbcc.o: libinfo.h examplefuncs.c
  14.     vc $(CFLAGS) -o $@ examplefuncs.c
  15.  
  16.